xquery version "1.0";
let $db := doc('xp')
return
	insert node 
		<req>
			<nom>!nom!</nom>
			<point>!point!</point>
			<query>!query!</query>
			<options>!options!</options>
			<badges>!badges!</badges>
		</req> 
	into $db/ranking/xps/xp[@id='!exp!']